package com;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;

public interface MiniRowProcessor {
    Object[] toArray(ResultSet rs) throws SQLException;

    Map<String,Object> toMap(ResultSet rs)throws SQLException;

    <T> T toBean(ResultSet rs,Class<? extends T>type) throws SQLException;
}
